﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace strategyPatternSample2
{
    public class fish: animal
    {
        public fish()
        {
            livingBehavior = new livingInWater();
        }

        public override void iam()
        {
            Console.WriteLine(" iam a fish..");
        }
    }
}
